From registry.bitahub.com:5000/app-group-base/nginx:1.23.3

RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
RUN apt-get update

RUN apt-get install --no-install-recommends --no-install-suggests -y \
                        libgd-dev \
                        nginx-module-image-filter
WORKDIR /usr/share/nginx/html/
COPY ./dist ./hmc/

EXPOSE 18080
CMD ["nginx", "-g", "daemon off;"]
